<!DOCTYPE html>
<!--
  Copyright 2020 The Chromium Authors. All rights reserved.
  Use of this source code is governed by a BSD-style license that can be
  found in the LICENSE file.
-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<portal></portal>
<button id="ACTIVATE" type="button">activate</button>
<script>
  const params = new URLSearchParams(window.location.search);
  const url = params.get("url");
  const p = document.querySelector("portal");
  p.src = url;
  document.querySelector('button').onclick = () => { p.activate() };
</script>
